package com.ruoyi.logistic.enums;

/**
 * 结算类型
 *
 * @author ruoyi
 */
public enum NetworkUndertakeCentreAssessmentCollectEnum
{
    auditDate("auditDate", "审核日期"),
    ticket("ticket", "票数"),
    preAmountReceived("preAmountReceived", "预付款已扣金额"),
    afterRemissionAssessmentAmount("afterRemissionAssessmentAmount", "减免后考核金额"),
    deductionAmount("deductionAmount", "减免金额"),
    totalAssessment("totalAssessment", "考核总计"),
    osLogisticsInformation("osLogisticsInformation", "操作规范-物流信息指数考核"),
    unWeighedExamine("unWeighedExamine", "操作规范-未称重考核"),
    falseSignature("falseSignature", "服务质量-虚假签收"),
    triplexLose("triplexLose", "三件-遗失"),
    triplexDelay("triplexDelay", "三件-延误"),
    triplexWorn("triplexWorn", "三件-破损"),
    operateComplain("operateComplain", "运营投诉"),
    webmasterComplain("webmasterComplain", "网管投诉"),
    otherExamine("otherExamine", "其他考核")
    ;

    private final String code;
    private final String info;

    NetworkUndertakeCentreAssessmentCollectEnum(String code, String info)
    {
        this.code = code;
        this.info = info;
    }

    public String getCode()
    {
        return code;
    }

    public String getInfo()
    {
        return info;
    }

    public static String getValue(String code) {
        if (code == null) {
            return "";
        }
        for (NetworkUndertakeCentreAssessmentCollectEnum value : NetworkUndertakeCentreAssessmentCollectEnum.values()) {
            if (value.code.equals(code)){
                return value.info;
            }
        }
        return "";
    }
}
